Skip to content

Change gdrive system tests#66930

Open
Crowiant wants to merge 1 commit into
apache:mainfrom
VladaZakharova:change-gdrive-system-tests
Open

Change gdrive system tests#66930
Crowiant wants to merge 1 commit into
apache:mainfrom
VladaZakharova:change-gdrive-system-tests

Conversation

@Crowiant
Copy link
Copy Markdown
Contributor


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@Crowiant Crowiant requested a review from shahar1 as a code owner May 14, 2026 10:06
@boring-cyborg boring-cyborg Bot added area:providers provider:google Google (including GCP) related issues labels May 14, 2026
@Crowiant Crowiant force-pushed the change-gdrive-system-tests branch from 1104480 to b7a2739 Compare May 14, 2026 10:43
@@ -28,6 +28,7 @@
import logging
import os
from datetime import datetime
from functools import cache
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused from functools import cache in both example Dags (example_gcs_to_gdrive.py:31, example_gdrive_to_gcs.py:24). Ruff F401 will block this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FOLDER_ID = "" left in example_gdrive_to_gcs.py:63 and still passed as folder_id=FOLDER_ID to GoogleDriveFileExistenceSensor (~line 117) and GoogleDriveToGCSOperator (~line 127). With
drive_id now supplied, an empty folder_id is at best confusing — likely should also resolve to the shared-drive ID.

@@ -88,6 +88,7 @@ class GCSToGoogleDriveOperator(BaseOperator):
"source_object",
"destination_object",
"impersonation_chain",
"destination_folder_id",
Copy link
Copy Markdown
Contributor

@shahar1 shahar1 May 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this as template field should be mentioned in the title

@Crowiant Crowiant force-pushed the change-gdrive-system-tests branch from b7a2739 to 44fe181 Compare May 15, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants